package cylinder;
import circle.*;

public class Cylinder extends Circle {
    double height;
    public Cylinder(double r, double h)
    {
        super(r);
        height = h;
    }
    public double area()
    {
        return 2 * PI * super.radius + 2 * PI * super.radius * height;
    }
}